package org.bees.cms.common;

import java.util.List;
import java.util.Set;

public interface Tree<T extends Tree<T>> {

	List<T> ancestors();

	List<T> descendants();

	T getParent();

	void setParent(T parent);

	Set<T> getChildren();

	void setChildren(Set<T> children);

}
